









<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>sindice4j - Introduction</title>
    <link rel="stylesheet" href="./css/maven-theme.css" type="text/css" />
    <link rel="stylesheet" href="./css/maven-base.css" type="text/css"/>
    <link rel="stylesheet" href="./css/prettify.css" type="text/css"/>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
    <script type="text/javascript" src="./js/prettify.js"></script>
    <script type="text/javascript" src="./js/niftycube.js"></script>
    <script type="text/javascript">
        window.onload=function() {
            Nifty("div\#wrapper", "big");
            Nifty("div#breadcrumbs", "small");
            Nifty("div\#navcolumn", "small");
            Nifty("div.source", "medium");
            prettyPrint();
        }
    </script>
          <meta name="author" content="Sindice4J" />
        <meta name="Date-Revision-yyyymmdd" content="20110923" />
      </head>
  <body>
    <div id="wrapper">
        <div id="banner">
                      <a href="" id="bannerLeft"  >
    
                                            <img src="images/sindice-logo.png" alt="sindice4j" />
    
            </a>
                            <div class="clear">
            <hr/>
          </div>
        </div>
        <div id="breadcrumbs">
              
  

  
    
            
  
    
            <div class="xleft">
        <span id="publishDate">Last Published: 2011-09-23</span>
                  &nbsp;| <span id="projectVersion">Version: 0.5</span>
                      </div>
                <div class="xright">      
  

  
    
            
  
    
  </div>
          <div class="clear">
            <hr/>
          </div>
        </div>
        <div id="leftColumn">
          <div id="navcolumn">
               
  

  
    
            
  
    
                       <h5>sindice4j</h5>
            <ul>
              
    <li class="none">
              <strong>Introduction</strong>
        </li>
              
    <li class="none">
                    <a href="howto.html">Using Sindice4J</a>
          </li>
          </ul>
              <h5>External Links</h5>
            <ul>
              
    <li class="none">
                    <a href="http://sindice.com/" class="externalLink">sindice.com</a>
          </li>
          </ul>
                                               <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img class="poweredBy"
                 alt="Built by Maven"
                 src="./images/logos/maven-feather.png"
                 width="90"
                 height="30"
                 border="1" />
          </a>
                           
  

  
    
            
  
    
            </div>
        </div>
        <div id="bodyColumn">
          <div id="contentBox">
            <div class="section"><h2>Introduction<a name="Introduction"></a></h2><p>Sindice4J is a Java Library simply providing an interface for querying the Semantic Web index <a class="externalLink" href="http://sindice.com">Sindice.com</a>. It supports both term queries and advanced queries with the possibility to set different query parameters like: page number, sorting of results by date.</p><p>For more further information please visit the official <a class="externalLink" href="http://www.sindice.com/developers/api">Sindice Web APIs</a> page.</p></div><div class="section"><h2>Before coding<a name="Before_coding"></a></h2><p><i>Sindice4J</i> is deployed on an own Google Code repository, so users have just to add the <i>Sindice4J</i> repository to their <tt>pom.xml</tt>:</p><div class="source"><pre>&lt;repositories&gt;
         ...
        &lt;repository&gt;
            &lt;id&gt;googlecode&lt;/id&gt;
            &lt;name&gt;Sindice4J Maven Repository&lt;/name&gt;
            &lt;url&gt;http://sindice4j.googlecode.com/svn/repo&lt;/url&gt;
            &lt;layout&gt;default&lt;/layout&gt;
        &lt;/repository&gt;
         ...
&lt;/repositories&gt;</pre></div><p>and then adding to the <tt>pom.xml</tt> the <i>Sindice4J</i> dependency:</p><div class="source"><pre>&lt;dependencies&gt;
    ...
    &lt;dependency&gt;
        &lt;groupId&gt;com.sindice&lt;/groupId&gt;
        &lt;artifactId&gt;sindice4j&lt;/artifactId&gt;
        &lt;version&gt;XX.XX&lt;/version&gt;
    &lt;/dependency&gt;
    ...
&lt;/dependencies&gt;</pre></div><p>alternatively, users can add <i>Sindice4J</i> dependency in the <i>dependencyManagement</i> block:</p><div class="source"><pre>&lt;dependencyManagement&gt;
    &lt;dependencies&gt;
        ...
        &lt;dependency&gt;
            &lt;groupId&gt;com.sindice&lt;/groupId&gt;
            &lt;artifactId&gt;sindice4j&lt;/artifactId&gt;
            &lt;version&gt;XX.XX&lt;/version&gt;
        &lt;/dependency&gt;
        ...
    &lt;/dependencies&gt;
&lt;/dependencyManagement&gt;</pre></div><p>Users are now ready to have fun with it!</p></div>
          </div>
        </div>
        <div class="clear">
          <hr/>
        </div>
        <div id="footer">
          <div class="xright">Copyright &#169;         
   
          2010-2011.
    
      All Rights Reserved.    
  

  
    
            
  
    
  </div>
          <div class="clear">
            <hr/>
          </div>
        </div>
    </div>
  </body>
</html>
